DescribeBaseConfigs
Description
get login security settings.
Request Method
POST
Request Path
/apsara/route/aegis/DescribeBaseConfigs
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Type | BODY | string | Yes | No sample value for this parameter. | Common logon configuration record types. Valid values: login_common_location: indicates common login place login_common_ip: indicates common login IP login_common_time: indicates common login time login_common_account: indicates a common login account |
Target | BODY | string | No | No sample value for this parameter. | specifies the host asset. description this parameter needs to be specified when obtaining the login security configuration record of the specified asset. please refer to the request example for the specific format. |
PageSize | BODY | integer | No | No sample value for this parameter. | specifies the maximum number of records per page in the returned result. default value: 20 |
CurrentPage | BODY | integer | No | No sample value for this parameter. | specifies the number of pages currently returned. default value: 1 |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
TargetList | array | no demo value | the host asset information to which the configuration is applied. see the following parameter description for specific sub-items. |
Account | string | no demo value | common login account. |
RequestId | string | no demo value | request ID. |
PageSize | integer | no demo value | page displays the maximum number of records. |
EndTime | string | no demo value | The end time of the common login time. |
Ip | string | no demo value | Common login IP. |
BaseConfigs | array | no demo value | log on to the security settings record information. see the following parameter description for specific sub-items. |
StartTime | string | no demo value | the start time of the common login time. |
UuidCount | integer | no demo value | the number of host assets to which this configuration is applied. |
TotalCount | integer | no demo value | total number of host assets. |
Target | string | no demo value | asset group ID or host asset UUID. |
CurrentPage | integer | no demo value | currently returns page number. |
TargetType | string | no demo value | The type of Target parameter value: groupId: indicates asset group ID uuid: indicates the host asset UUID |
Location | string | no demo value | Common login place. |
Example
Successful Response example
{
"TargetList":"no demo value",
"Account":"no demo value",
"RequestId":"no demo value",
"PageSize":"no demo value",
"EndTime":"no demo value",
"Ip":"no demo value",
"BaseConfigs":"no demo value",
"StartTime":"no demo value",
"UuidCount":"no demo value",
"TotalCount":"no demo value",
"Target":"no demo value",
"CurrentPage":"no demo value",
"TargetType":"no demo value",
"Location":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}